package com.mashibing.disruptor;

/**
 * Disruptor使用的第一步
 * 定义Event——队列中需要处理的元素
 * @author: Yuanzt
 * @Date: 2021/4/7
 */
public class LongEvent {

    private long value;

    public void set(long value){
        this.value = value;
    }

    @Override
    public String toString() {
        return "LongEvent{" +
                "value=" + value +
                '}';
    }
}
